<style type="text/css">
.article {
	width: 600px;
	margin: 0 auto;
	padding: 20px;
	box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.33);
}
</style>
<div class="article">
	<h3><?php echo $params['article']['title'];?><br />
	<small><?php echo $params['article']['description'];?></small></h3>
	<p>
		<i class="icon-calendar"></i>
		<span><?php $time = is_null($params['article']['modifyTime'])? new DateTime($params['article']['createTime'])
		: new DateTime($params['article']['modifyTime']); echo $time->format('j/m/Y');?></span>
	</p>
	<p><?php echo nl2br($params['article']['detail']);?></p>
</div>